package com.ques.service;

import com.ques.entity.QueryParam;
import com.ques.pojo.QuestionAnswer;

import java.util.List;

/**
 * @author zq  2020-02-08
 */
public interface AnswerService {


    boolean addQuestionAnswer(String questionId, QuestionAnswer questionAnswer);

    List<QuestionAnswer> getAllAnswerPage(QueryParam queryParam);

    long deleteAnswer(String quesId, List<String> answerId);

    List<QuestionAnswer> getAllAnswer(String questionId);


}
